{% extends "snapboard/base_forum.html" %}

{% block side_panel %}
<!-- empty for now -->
{% endblock %}

{% block snapboard_main %}
    {% if not user.is_authenticated %}
    <div style="left-margin: float; width: 300px;">
        <form method="post" action="/snapboard/signin/">
            <table style="margin: 5px;">
            {{ login_form.as_table }}
            </table>
            <input type="submit" value="Sign In" />
            <input type="hidden" name="next" value="{{ login_next }}" />
        </form>
    </div>
    {% else %}
    <p>You are already signed in.</p>
    {% endif %}
{% endblock %}
